#define MaxVertexNum 50
typedef char VertexType;
typedef int Adjmatrix;
typedef struct
{
    VertexType vexs[MaxVertexNum];
    Adjmatrix arcs[MaxVertexNum][MaxVertexNum];
} MGraph;